package com.example.lt.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;

/**
 * @Author 小涛Tao
 * @Date: 2024/08/08/20:42
 * version 1.0 注释：
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class FavoritesVideo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long favoritesId; // 收藏夹id

    private Long videoId; // 视频id

    // 冗余字段
    private Long userId; // 用户id

}
